VoiceLog
<wave file>
Logs
the telephony audio to a specified file.
Parameters
<wave
file>
Wave file to log the voice.
Remarks
- If the file already exists and is in the correct format,
the data is appended to the file.
- VoiceLog without any filename parameter will stop any
existing logging.
- Creates a PCM 16-bit stereo file with one sound track containing the IVR voice and the other having caller's voice.
Example
:MAIN
answer
voicelog "c:\vlogs.wav"
//play welcome message
play "welcome.wav"
//accept user ID
play "userid.wav"
$uid = input(5,4)
.....
.....
hangup
goto MAIN
:ONSYSTEMERROR
log $Error
clear
hangup
goto MAIN
:ONHANGUP
hangup
goto MAIN